
<template>
  <h2>HomeView</h2>
  <button @click="goToAbout">Go to About</button>
</template>

<!-- vue2 optionsApi -->
<script>
export default {
  methods: {
    goToAbout() {
      this.$router.push('/about')
    },
  },
}
</script>
